package com.well.register.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Configuration
@ConfigurationProperties(prefix = "com.well.cloud.register")
@PropertySource("file:./well/config/register.properties")
@Data
@Component
public class PropertiesConfig {

    private Integer port;

    private Boolean heartBeat=false;

    private Boolean enableSSL=false;

    private String caPath;

    private String certPath;

    private String keyPath;

}
